Conditional metadata DB initilization