Add support for --current-dev=pkg and --last-stable=pkg