Fix bug mentioned in commit f814e23eab140ad01df4a4a3b187fcbf20da02be:
- puppet/ext/emacs/puppet-mode.el (puppet-indent-line): When iterating backwards, test for beginning-of-buffer first, to avoid an infinite loop.
Reported by: Micah Anderson
(He also supplied a clear reproduction recipe.)