Metadata CLI Bug Fix

This should resolve #363