Fixes a PHP notice when trying to find related items on a custom post ty...

...pe that is defined outside of Pods. This works around not being able to find the field "pod_id".

This should resolve #1821 on pods-framework/pods.