hashdist/hashdist — pull request #278 by vbraun (2014-07-17 15:09:21+00:00)
Title: Only search hook file next to package.yaml

hook_import_dirs is meant as the sys.path inside hooks, not
the path to find hooks. So packages with a hook file shoud be
* $pkgs/package.yaml + $pkgs/package.py, or
* $pkgs/package/package.yaml + $pkgs/package/package.py, or
* $pkgs/package/package-foo.yaml + $pkgs/package/package.py.

This should fix https://github.com/hashdist/hashdist/issues/277