Fix for #3068 (Windows Path Sanitation)

Fixes #3068.

Make sure that the questionable path is prefixed with the base path. If it is not, it will be expanded from the root and prefixed with the base path.