fixup prepare_port (allow symlinks in repos/)