osd: Fix assert(0 == "erroneously present object")

Map head to snapdir since numerically snapdir > head

Fixes: #6685

Signed-off-by: David Zafman <david.zafman@inktank.com>