short circuit faster if agent directory doesn't exist