leo: Fix the pmw dependency.
barelease: Add another safety check.