bug fix for Could not locate drupal version 6 or 7 by default value

To avoid getting error 'Could not locate drupal version 6 or 7' with the given default drupal core version value.

more info: https://drupal.org/node/1521978