Altering an upgrade check from showing stats (Bug #1366664)

Now checks to make sure we are installed so that the tables that stats
checks will exist.

Change-Id: I27e9b30a77935f91de3830ebec3512f26a5ea357
Signed-off-by: Bob Lyon <bob@katipo.co.nz>