[sr-dev] git:3.1: core: proper return code for pvar assignment