Yet another fix for missing 'def_refid' in install phase