Don't make pkg/server states available unless provider module is loaded

This prevents ugly tracebacks when an OS does is not properly detected,
and no pkg or service provider was loaded for the minion. pkg and
service states will still fail, but they'll fail more gracefully,
without the traceback.