fix creation operation that could fail

Signed-off-by: Frédéric -lefred- Descamps <lefred@percona.com>