Better validation for the entered paths in the XMDS preference