Fixed issue where is_remote was being reported as the opposite