Fixes refresh of candidate directories on selfupdate.