It worked around an annoying feature or bug on EL6, where a root login shell's PATH doesn't contain /usr/local/bin, so it wouldn't find `bats`.