BZ 1091015 - be able to delete agent even if it doesn't exist on the file system
BZ 1091339 - validate the port field properly