Add path checking before loading the phpbrew function.