Move psycopg2 requirement to where it belongs.