diff --git a/drush_make.download.inc b/drush_make.download.inc
index 49165db..92c68f9 100644
--- a/drush_make.download.inc
+++ b/drush_make.download.inc
@@ -137,8 +137,7 @@ function _drush_make_download_file($download) {
             else {
               $matches = array();
               preg_match('/HTTP\/1\.1 (\d\d\d)/', $h, $matches);
-              // 4** or 5** errors are failures.
-              if ($matches[1]{0} == 4 || $matches[1]{0} == 5) {
+              if (isset($matches[1]) && ($matches[1]{0} == 4 || $matches[1]{0} == 5)) {
                 $success = FALSE;
               }
               $first = FALSE;
diff --git a/drush_make.project.inc b/drush_make.project.inc
index c82d823..76b71b2 100644
--- a/drush_make.project.inc
+++ b/drush_make.project.inc
@@ -348,6 +348,8 @@ class DrushMakeProject_Library extends DrushMakeProject {
   }
   // No recursion for libraries, sorry :-(
   function recurse() {}
+  // Neither translations.
+  function getTranslations() {}
 }
 
 class DrushMakeProject_Module extends DrushMakeProject {
@@ -360,7 +362,7 @@ class DrushMakeProject_Module extends DrushMakeProject {
 class DrushMakeProject_Profile extends DrushMakeProject {
   protected function __construct(&$project) {
     parent::__construct($project);
-    $this->contrib_destination = ($this->destination ? $this->destination : 'profiles');
+    $this->contrib_destination = (!empty($this->destination) ? $this->destination : 'profiles');
   }
 
   protected function buildPath($directory) {
