Check for last_known_revision before fetching comparison

Addresses https://github.com/atmos/heaven/pull/105#issuecomment-6119152
Merge pull request #106 from dblandin/guard-for-404s-on-commit-comparisons

Check for last_known_revision before fetching comparison