Fix validate_db_connection_spec.

The for loop inside the shell() was confusing things (although it's unclear why.  I don't think we need to be looping in the spec, and this works.