Support paths with VIRTUAL_PATH

* Require `dict` and `sha1` function support in docker-gen