Prevent crash if mods dir is missing