Bugfix: Properly determine whether a gem is currently installed

--------------------------------------------------------------------------------
Change-Id:     I9cfcb77ff76d1405d352c7a65a3c112ad518b7c8
Signed-off-by: Jeff Felchner <accounts+git@thekompanee.com>