title: Loading dependency over Composer with defined repository in dependency
body: <p>I have project <code>projectAlfa</code> with my dependency <code>my/project-beta</code>. But <code>my/project-beta</code> has dependency <code>otherProject</code> without <em>composer.json</em>. So i defined repository with type <code>package</code>  in <code>my/project-beta</code>.</p>
  
  <p><strong>Project Alfa</strong> <em>composer.json</em></p>
  
  <pre><code>{
    "repositories": [
      {
        "type": "git",
        "url": "http://github.com/my/project-Beta"
      }
    ],
    "require": {
      "my/project-beta": "dev-master"
    }
  }
  </code></pre>
  
  <p><strong>Project Beta</strong> <em>composer.json</em></p>
  
  <pre><code>{
    "name": "my/project-beta",
    "repositories": [
      {
        "type": "package",
        "package": {
          "name": "other/project",
          "version": "dev-master",
          "source": {
            "type": "git",
            "url": "http://github.com/Other/Project",
            "reference": "master"
          }
        }
      }
    ],
    "require": {
      "other/project": "*"
    }
  }
  </code></pre>
  
  <p><strong>Problem:</strong></p>
  
  <p>If i run <code>composer install</code> on <code>projectAlfa</code> then dependencies is not loaded, because: </p>
  
  <p><code>my/project-beta dev-master requires other/project * -&gt; no matching package found</code></p>