Add more path related sanity checks