Fix prefix replacement for drupal6

I wasn't able to import from my drupal6 installation which had a custom prefix. This fixes it. With this change, the import script works.

I verified that the drupal7 migration doesn't suffer from the same issues.