fix: gracefully handle the exception when cannot create the locks directory. (RhBug:1036147)