Small fixups

- get condition for hostname right.
- add missing migrations module to service
- replace provider reference with CuratorFramework