Replace file path using Aegir
drush --debug php-script replace
<?php
include '/var/aegir/.drush/provision/platform/drupal/deploy_7.inc';
$new_url = 'gpbase.nl';
_provision_platform_drupal_deploy_7_replace('default', $new_url);
something is going on over there