Do not add "" to the global search path
This fixes a glitch: previously, we would add "" to the path, but later change the working directory to the output directory if -o / --output is passed, meaning that files could be picked up from the output directory, while it should only be used for output (though it can always be added via -I if useful). The fix is to append the name of the current working directory instead.