Minor restructuring/clarification to get_backup_name.