Update druhipify.php

Do not use Drupal functions if they are not available.