Followup 00af434: only tear down debug bar if it exists

Bug: 66692
Change-Id: I3ec8cf9579da785327abbab5dd3618bb3f20895f
Merge "Followup 00af434: only tear down debug bar if it exists"