core:copyServices could cause attribute exceptions

ResourcesManager.copyServices could cause WrongAttributeValueException
or WrongReferenceAttributeValueException in case that the resource where
the services are copied to doesn't have correct attributes values set.