BL-664: Record more info in crash when file is missing <head>

Also gives the user a clue what to do
Merge pull request #86 from JohnThomson/MissingHeadInfo

BL-664: Record more info in crash when file is missing <head>
Handle empty paths for unit tests to repair previous fix