scmhook: migration better handling previous enabled hooks