[repository] when deleting relations of a deleted external entity, we should skip non-crossable relation (closes #1973680)
elses this may lead to things as described in the ticket...
option_group_changed('port', 'main', 'web')
option_group_changed('query-log-file', 'main', 'web')
option_group_changed('profile', 'main', 'web')
option_group_changed('max-post-length', 'main', 'web')