Implement mutually exclusive --sparse/--dense options

Signed-off-by: Rune Morling <ermo@foresightlinux.org>