Simplify rundb init for CMT
Created by: jorana
What is the problem / what does the code in this PR do Sligthly simplify the rundb init used in the CMT ( #220) using the same checks as for the RunDB.
9c973a34 also fixed a circular import that I had created when merging #220 into master.