You should put the VCD dump commands in an initial block in the top level of your testbench and not in the UVM environment. This way, you can have direct access to your DUT and you won’t need to worry about hierarchical access out of your UVM environment.