Getwd shouldn't have a trailing slash included