collapse prepend-path statements for modulepath extensions