Updated the way relative paths are checked