Fix a bug when fixed_ip is not set in port_db_entry

Change-Id: I02914d9fdc6634ae0eee41b19f4c46bced0217cb