Issue #3071778 by Xiaohua Guan, yas: Fix an internal server error while saving an instance info w/ an empty instance name