public function getModulePath($moduleName)
{
// see if we can get the path from ModuleUtils, if module isn't set will throw exception
try {
$modulePath = $this->modules->getModulePath($moduleName);
} catch (\Exception $e) {
$modulePath = sprintf($this->modulePathSpec, $this->applicationPath, $moduleName);
}
return $this->normalizePath($modulePath);
}