tools: Fix RPM build with skipping basic packages
tools: Fix RPM build with skipping basic packages

Commit dab20ffefe6 removed the /usr/share/applications/ directory, so
trying to remove it now fails as it does not exist.

Closes #10697
moraleslazaro/cockpit,andreasn/cockpit,garrett/cockpit,cockpit-project/cockpit,mvollmer/cockpit,deryni/cockpit,martinpitt/cockpit,deryni/cockpit,deryni/cockpit,cockpituous/cockpit,andreasn/cockpit,deryni/cockpit,moraleslazaro/cockpit,deryni/cockpit,cockpituous/cockpit,andreasn/cockpit,cockpituous/cockpit,mvollmer/cockpit,moraleslazaro/cockpit,garrett/cockpit,moraleslazaro/cockpit,andreasn/cockpit,mvollmer/cockpit,garrett/cockpit,deryni/cockpit,martinpitt/cockpit,mvollmer/cockpit,andreasn/cockpit,martinpitt/cockpit,martinpitt/cockpit,moraleslazaro/cockpit,deryni/cockpit,martinpitt/cockpit,andreasn/cockpit,andreasn/cockpit,garrett/cockpit,cockpituous/cockpit,cockpituous/cockpit,cockpit-project/cockpit,moraleslazaro/cockpit,moraleslazaro/cockpit,mvollmer/cockpit,cockpituous/cockpit,cockpit-project/cockpit,garrett/cockpit,cockpit-project/cockpit,cockpit-project/cockpit