Makes destination path selection more tolerant of mixed casing and trailing backslashes (or lack thereof)

On some systems `$PSModulePath` and `$PSHome` have different capitalisation and inconsistent trailing backslashes.  This causes the logic that drives the `-Global` option to not work and all modules simply fall-back to installing as a user-specific module.