[MRELEASE-536] CommonBasedir Calculation fails on windows. Adjusted case sensitivity in getBaseWorkingDirectoryParentCount as well