Assert precondition that the Git import path is a valid directory