Set-EPREnvironment uses '(Split-Path -Path (Split-Path -Path $PSScriptRoot) -Parent)' to set variable epr_Directory.
This was correct while using the old script 'environmentSetup.ps1' but not know when used in a module located in scripts/helpers/module/.../.../*.
Update path splitting to get correct "root" directory.
Set-EPREnvironment uses '(Split-Path -Path (Split-Path -Path $PSScriptRoot) -Parent)' to set variable epr_Directory. This was correct while using the old script 'environmentSetup.ps1' but not know when used in a module located in scripts/helpers/module/.../.../*.
Update path splitting to get correct "root" directory.