Update uploads.php

Fix error in logic detecting if we have a valid bucket name. Start of assuming we do, until proven otherwise.