Better checks for presence of the proxy field in buildiso.

Probably fixes #595