Fix issue with double prefix when installing modules