do not create directory if dest is remote (part of bb #462)