rakefile: handle staging server url, do not try unpack downloaded build if it is an log file.