firmware: only if capes exist

Signed-off-by: Robert Nelson <robertcnelson@gmail.com>