should use localVersionedStore(database)

def localVersionStore(databaes) = new VersionedStore(rootDir /+ database.catalog.name)