Switch module root folder dependeing on whether package is installed or not