scmhook: migration script fix since plugin code has been removed