Handle invalid tenant id scenario

Fix taken from https://github.com/Juniper/contrail-neutron-plugin/commit/834beaa74f4ba148d61d53242a44d20a8c81c6cd

Change-Id: Ifd42182ef4498eec3e4c18ab5fc432761d758743