return localhost path as last resort