Code

resolve_ref(): only follow a symlink that contains a valid, normalized refname