fix bug in injectable plugin when using a define with no deps, only a function