use :exists instead of deprecated .exists

Untested, I don't have an easy way just now to pull in the prereqs needed to run tests.