Fix kbashcopy with no port argument.