Failed to locate template for civicrm.config.php
I had this same problem today.  While this may be too late for you, what I found was that somehow, the git repo in &lt;webroot&gt;/sites/all/modules/civicrm/drupal was set to the master branch and not the 7.x-master branch.  Once I checked out 7.x-master and did a git pull my problem resolved.