Fixed issue with modpath manipulation stripping too much from path
Fixed issue with modpath manipulation stripping too much from path

marshallward/payu,marshallward/payu,aidanheerdegen/payu,nicjhan/payu,aidanheerdegen/payu