Fix resolving git commit from drupal version