[BUGFIX] Avoid fatal error if adding composer package