Added the host in psycopg2 connection string as without it causes an error in installation procedure, even if default should be localhost.