XCOMMONS-388: In some conditions upgrading the dependency of an invalid extension fail
* fix log
(cherry picked from commit 3e96f6348d9fa02c6475670b7cf47766cc1f4e75)