netz98/n98-magerun — pull request #216 by davidalger (2013-09-09 20:44:32+00:00)
Title: LogicException thrown by script:repo:list where no script directories exist

Where neither `~/.n98-magerun/scripts` or `/usr/local/share/n98-magerun/scripts` exist on the local file-system, running scripts:repo:list will throw an exception:

[LogicException]
You must call one of in() or append() methods before iterating over a Finder.

Creating either one (or both) of the final scripts directories will solve the issue and output the expected "no script file found" message.