Fix "IndexError: list index out of range"
Fix "IndexError: list index out of range"

When running Python 2.7, an empty list will throw an "IndexError: list index out of range" error. We must check if the list is not empty before trying to iterate over it.

(closes #1)

bbinet/pillarstack