[loose parser] Fix a whole bunch of issues in the options.locations support

Closes #40