oops bugfix for require with new repo_manage parameter