Throw friendlier error when a reference cannot be found.
Merge pull request #1 from drewjw81/master

Throw friendlier error when a reference cannot be found.