Fix get tag, ref https://github.com/opps/opps/issues/207