DBAAS-4671: log_model would set the model tag before the model successfully logged, so on a failure the user wouldn't be able to try again. I moved the tagging to after a successful log
DBAAS-4682: If a Run did not have a name, the get_run_ids_by_name function would fail. I fixed it to attempt to get the run name, pass otherwise.