Add modulepaths to settings and return that, in case other vars are present in settings as well