[sr-dev] git:4.1: core: keep the password only if the user part is set