DESKPROFILE: Fix 'Improper use of negative value'
This issue was found by Coverity. Similar as in code block before ret
must be set to errno to allow proper log messages since initial ret will
always be -1.
Related to:
https://pagure.io/SSSD/sssd/issue/3621
Reviewed-by: Fabiano FidĂȘncio <fidencio@redhat.com>