#6219: Fix NPE in TM
Merge pull request #6250 from dotCMS/issue-6219-master-NPE-time-machine

#6219: Fix NPE in TM