don't walk off the end of the array
ignore modules/rmf/dependency/RMF_source/ until submodule is used