def extract_sha256_hash(hash):
    """Extrach SHA256 hash or return None
    """
    prefix = 'sha256:'
    if hash and hash.startswith(prefix):
        return hash.replace(prefix, '')
    return None