Simplify bash code to prep for ruby conversion
Simplify bash code to prep for ruby conversion

Signed-off-by: Colin Humphreys <cdf09037082c3e7e963137b94e9d1be99cdeeaca@pivotallabs.com>

barthy1/bosh,barthy1/bosh,barthy1/bosh,barthy1/bosh