Fix backtrace from juju plugin

Restrict plugin execution to when juju is installed
Fixes: #400

Signed-off-by: Louis Bouchard <louis.bouchard@canonical.com>