Fixed issue with connecting to pulp db