build: Allow source to be built (as devel) outside of git.

References #546. Thanks to @birdspider for the spot.

`eval {}` is how we spell `try` in classic Perl.