runscript: make sure to get the correct extension point to run
Merge pull request #5563 from tamland/runscript-fix

runscript: make sure to get the correct extension point to run