security/metasploit: fix runtime
PR: 276006 MFH: 2024Q1 (cherry picked from commit 71bb03491b119a3181a4158f39c8305dafbd58c0)