Show bare reference name instead of error. Fixes #3 and #7