Can `submodule` or `repository` be NULL?