main: Fix warning if permissions are missing