report originating error for GetReference failure
Merge pull request #1857 from deads2k/dev/deads/fixup-error-reporting

report originating error for GetReference failure