Moved DB Name validation logic / Removed Null check as it already throws NullPointerException