Error if no controller hooks are specified in plugin

When testing a plugin with no controller hooks, I noticed select being called on @controller_hooks which is nil, causing a no method error page.