Execute namespace creation/removal only if namespaces defined

Change-Id: Ie0f1911a97e96fc11b4dcd3aef897104888cefaa
Related-PROD: PROD-28278 (PROD:28278)
1 file changed