Git head

This includes a fix for #237

It also adds a check if the recipe if the git_url is a local repository and makes sure the current HEAD gets checkout out on build.