Fixed amd package generation for imports