repolib imports ActionLock from this file, so we run into problems importing it at the top.  I think line 188 does the same thing for IdentityCertLib.