fix for install or upgrade redirects

hook system not available until plugins system is loaded, breaking new
redirect hook