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.