Correct handling of absolute FTP paths against non-root URLs