Make gm API lookup respect offlineperms toggle properly.