Fix to use the correct context when a new package file is created with a .m extension

This fixes http://halirutan.myjetbrains.com/youtrack/issue/MMAP-13