Fixes AMD dependencies for relative path

Current AMDCompiler transforms "import foo from './foo'" to a AMD dependency for '../foo' when moduleName is null, but it should be './foo'.