mount command: remove local getport() implementation