Return a Result in invert_location (#3730)

* Return a Result in invert_location

* Add invertible to spellcheck dictionary

* Fix Some -> Ok
16 jobs for master in 40 minutes and 58 seconds (queued for 6 seconds)