cyclades: Check GanetiApiError exception code

Fix bug when quering Ganeti to check if a VM, NIC or Network is stale.
The code wrongly regarded every Ganeti API error as the resource to be
missing from Ganeti(404 code). This commit fixes this issue by
explicitly checking the exception code.