Fix public repository listFiles method that I broke with PR669.
Merge pull request #767 from mtbc/fix-repo-listfiles

Fix public repository listFiles method that I broke with PR669.