Fixes in automatic update checking and repository querying.