Fix modulepath inside machine