#4578 avoid hibernate join on inode
#4578 avoid possible npe
Merge pull request #4585 from dotCMS/issue-4578-cat-factory-join-inode

#4578 avoid hibernate join on inode