Fix running extension inside SDK