When using --dont-update-counter it's possible that there is no user (i.e.
None). Fixed bug related to None exception