GRIFFON-630 PreferencesManager calculates wrong path