Bugfix for % signs in pwd.