title: Yii 2.0 migration ReflectionException message 'Class yii\gii\Module does not exist' from git project
body: <p>I am trying to execute a migration script, however I keep getting this Exception:</p>
  
  <pre><code>Exception 'ReflectionException' with message 'Class yii\gii\Module does not exist'
  </code></pre>
  
  <p>in /home/user/project/vendor/yiisoft/yii2/di/Container.php:408.</p>
  
  <p>The exception also occurs using any other Yii functionality, for instance:</p>
  
  <pre><code>./Yii migrate/create test
  </code></pre>
  
  <p>I currently have the latest version of Yii. I've been at this for some time now, but have no idea how to proceed from here.</p>
  
  <p>I cloned this project from git..</p>