Strip whitespace from original import path