servers: fix panicing when the Id doesn't exist

If the server id doesn't exist it's just panics. Check and return an appropriate error. The other changes are due to `gofmt`.