Only calculate a git ref if one wasn't given at initialization
change the step definition for checking if a cookbook was installed

or exists in the cache because it was installed by Git
Merge pull request #629 from RiotGames/rel_lockfile

cached relative path of git repo broken in 2.0.1