Fix usage of wrong property when editing package