files_ref_store::submodule: use NULL for the main repository