This should work:
var ExtensionUtils = brackets.getModule("utils/ExtensionUtils");
var path = ExtensionUtils.getModulePath(module);
(Where module
comes from the define(function (require, exports, module) {
at the top of your extension module).