Fix #648 - Crash in test-r_anal.py