functions: only load composer autoloader if not already loaded