hookup 1.2.2

* Fix error when schema dir is not set.