Refactor autoUpdateBugDb so it always does the same thing when called… …
… with the same argument