fix regression in EC2 upload build code
fix regression in EC2 upload build code

Sigh.  I did a cut and paste when creating an earlier patch to add support
for F16.  This slipped through.  This change makes EC2 upload builds work again.

jmcabandara/imagefactory,LalatenduMohanty/imagefactory,henrysher/imagefactory,LalatenduMohanty/imagefactory,jmcabandara/imagefactory,redhat-imaging/imagefactory,redhat-imaging/imagefactory,henrysher/imagefactory