Check that animal owner is not null before name-based permission check