Bug fixed: Failure with list-refs.