Fix check for working hub installation

Signed-off-by: David Celis <me@davidcel.is>