Fix a few bash logic errors in install script

Slipped by in 0a37f56972714818fcf378945b0d3b91d1b8e10a

Change-Id: Id02454e8224f99b057cc8c9e92580ae6c26bc14e
Signed-off-by: Jeff Peeler <jpeeler@redhat.com>