60.0.6: Add http user agent and fix localrepo --fix

* Set http user agent in CURL to "Turris Updater/UPDATER_VERSION"
* Fix localrepo --fix failure when there was no repository at all
* Fix problem when entry.lua matched every file name containing .lua
  string