Fix to support sha256 hashes (bnc#501425)