[Reviewer: Mike] Update gemini module and reverse is_uri_local test

Mike, can you check this change - the is_uri_local check was causing the standalone app server case to always fail. It also doesn't look right, based on the comment below the test.

I've also pulled in the latest gemini.

Tested live