Fix restapi.secret parsing.
Make uploading a problem zipfile more verbose, closes #147.