release: check for the right directory.