strip role-specifica from package_def