autoupdater fixes

Fix usage of /lib/ar71xx.sh and error handling improvements