The power-substitution condition of endomorphism rings of quasi-projective modules