Strip final "modules" directory from path before running librarian