Fixing null pointers during vpc router deployment