fix Artifact#to_dict when scm_info is None