fabric/fabric — pull request #1100 by srikalyan (2014-03-17 01:12:37+00:00)
Title: Fixed the index out of range with empty file names.

We are getting index out of range for "get('/etc/iptables.rules')" due to rlist containing following

[.....,u'kernel-img.conf', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'', u'apparmor']

Adding the following fixes it. Please let me know if you have any questions or if it is already fixed.