Last minute correction for getting a key

Signed-off-by: Lasconik <caillouxnicolas@gmail.com>