Retrieve patch with postgres user

Retrieve patch with postgres user instead of root user in _exec_command_retrieve_patch method