Configure hook in python doesn't work with core18 base

I’ve been testing moving some snaps over to a core18 base. I’ve found that where hooks were written in python (specifically the configure hook) I can no longer complete an install as execution of the hook fails.

I copied and modified one of the test snaps in the source tree to confirm it here.

The error produced is:

- Run configure hook of "test-snapd-python-hook" snap if present (run hook "configure": /usr/bin/env: 'python3': No such file or directory)

Ok, think I was a bit quick on reporting this. I believe this has already been fixed between the core18 snap currently on stable 0.1 (19) and the one on beta 0.1 (304).