def ghid(story):
    """Given a story, extract a github id if one is present"""
    if "external_id" in story:
        eid = story["external_id"]
        if eid is None:
            return " "
        return eid[eid.rfind("/")+1:]