title: Git checkout in Chef recipe not working
body: <p>I used the following chef stanza to try and checkout a github repository:</p>
  
  <pre><code>   git "/home/ubuntu" do
       repository "git://github.com/kmerenkov/brukva.git"
       revision "master"
       action :checkout
       user "ubuntu"
     end
  </code></pre>
  
  <p>The chef run has no errors and the resource is shown as up to date (even though no files are in the target directory).</p>
  
  <pre><code>* git[/home/ubuntu] action checkout (up to date)
  </code></pre>
  
  <p>What am I doing wrong?</p>