[packaging] adapt mer packaging for git submodule method