Fixing a few small flycheck warnings.
Neatening the final helm-source-generating function.

It's easier to read if I throw in a ->> threading macro.
Slight code improvement using a destructuring-bind.
Replacing a mapcar with a dolist, for neater code.