Adding a small validation so that metadata extracted that contains tables without primary keys are simply ignored