I works because you have ``oasis`` installed.  Since dynamic mode is used for development — avoids polluting history with meaningless changes for the project — either one generates a package that does not depend on ``oasis`` or — as here — ``oasis`` should be listed in the dependencies.  As I said I will add this detection to ``oasis2opam`` but I am currently at a conference with very little time to work on this.