Fix path for local instances with no basename