Make use of default-directory

Not only is this cleaner, it also works with TRAMP.