When calling any of the Git SCM's CommandFactory types, the method parameters are marked as @Nonnull, but the implementations don't always enforce it. In certain cases, that actually allows starting invalid git processes which can fail in unexpected ways.