site test only if inventory extension not installed

This was failing when called here: https://github.com/xtuple/private-extensions/pull/426/files#diff-dba0174844b3e3b478dd23aec3c7b36fR16