Check that a directory in a directory group exists.