d/patches: fix two issues with the /lib/firmware/updates support
Fix two issues introduced by the /lib/firmware/updates support:
- Properly handle
opendirreturn code - Don't call
dirnametwice.
Fix two issues introduced by the /lib/firmware/updates support:
opendir return codedirname twice.