Fix crash in log message when process history is Empty.
Merge pull request #5914 from alja/71-historyCheck

71x Add check for an empty processHistory