check: Add GnomeDesktop as a soft dependency
check: Fix check_soft_dependencies to return what the caller expects