Fixed manifest error when "tmp" dir is clear.