fail gracefully when repository type is not supported
fix git reimport when repo is in detached state
add support to import tarballs