Make assets dump work in pre environment.