Gerrit build logs are not always compressed

Code had made the assumption that Gerrit's build logs were always
compressed. Turns out this is not the case. So, take alook to see
what the directory actually has for a build log.
Merge pull request #12 from craigtracey/buildlog

Gerrit build logs are not always compressed