Fix abspath invocation

Previously, this would have created a '~' directory in the current dir. Now, this resolves homedirs first.