pylib: fix bug in rocks.vm