Drop upgrade hook autodetection

It is not worth the quantity of code it adds.
Still upgrade hook function names are parsed for version.