fix validation checking for gpdb schema and database creation for sandboxes