Fix tapemap divide by zero error on empty tape.