throw instead of exiting
only check first
look in command for a repo
look in command for a repo