Fix nil when deleting vapp.
Merge pull request #43 from jvale/fix_nil_deleting_vapp

Fix nil when deleting vapp.