Some tests were failing because the variable ROOTSYS was not pointing to the binary tree
Do not open PCH files when searching for them (ROOT-6358).