added support for upper case characters in bucket name check