Add condition to fetch db config for block instance in system context only