Fixed: Error thrown if PWD contains whitespace characters.