Revert "Fixes issue #868, by skipping missing related objects"

This reverts commit 2909afaaa38d12a2a7c2a5d414b7e32218a5e269.
Fixes Undefined variable: fkVersionColumnPhpName