replaced basestring with str
Removed <export> tag from package.xml when empty
Merge pull request #1 from captianjroot/master

Resolved <export> tag issue