Fix confusion between exit code 0 and inferred False
Created by: tzok
The method keystore.put()
returns an exit code i.e. 0 means success. However the logic in UdockerCLI.do_login()
treated 0 as an inferred False
constant making a successful login to a private registry impossible.