Robust absolute path checking for Mac