py-runner: support hooks:pre_get_sources_script
The python runner should support executing the pre_get_sources_script hook before executing git clone
The python runner should support executing the pre_get_sources_script hook before executing git clone