fix drupal repo check