Early return out of inputGetKeys if Keys is NULL