Fixed import from 'psycopg2' into extras

Not caught by the test suite because of the 'psycopg2.py' compatibility module.