Fixing warning when extensions key is empty