commands: fix minor bug with rocks dump