Fix for the pipeline directory scanner. Closes #19.