find deps in MODULE_PATH options, optional flags