[BUGFIX] Check curl availability before using it