UPDATE 2015.11.10
So this workflow still wasn't working for me, even after uninstalling and reinstalling the workflow. So I dug deeper. Indeed, it was not working because I have set Alfred up to store it's preferences file in Dropbox, and this workflow looks for the preferences file in the default location, not in Dropbox. So I selected the workflow in Alfred's preferences, and right clicked on the "/bin/bash Run Script", and simply updated the location of the snippets database, to reflect its location in Dropbox instead of the default location. Now it works like a charm again. Thanks for this script! Very handy!