title: Composer does not fetch dependencies from local repository
body: <p>I am trying to add a local project A as dependency to project B. Using <code>git daemon</code> I am able to fetch project A as dependency, but the dependencies defined with <code>require</code> in the composer.json in project A are not recognized. What am I missing?</p>
  
  <p>project A:</p>
  
  <pre><code>{
      "name": "project/a",
      "require": {
          "monolog/monolog": "dev-master"
      }
  }
  </code></pre>
  
  <p>project B:</p>
  
  <pre><code>"repositories": [
      {
          "type": "vcs",
          "url": "git://localhost/home/user/project-a"
      }
  ],
  "require": {
      "project/a": "dev-master"
  }
  </code></pre>
  
  <p>result (in project B):</p>
  
  <pre><code>vendor/
    project/a
  </code></pre>
  
  <p>expected:</p>
  
  <pre><code>vendor/
    project/a
    monolog/monolog
  </code></pre>