parse_fragment: fix {:error, :badmatch} when the option list is passed

All lists with items have an empty list as tail, so we need to decode
that before we get to the next argument
2 jobs for v1.0.1 in 40 seconds
latest
Status Job ID Name Coverage
  Test
passed #83772
lint

00:00:39

passed #83773
unit-testing

00:00:40

82.54%