Fix undefined attribute when conditional falls through
Merge pull request #165 from ijl/undefined_r

Fix undefined attribute when conditional falls through