ensure the return of init container is 0 even if optional credentials are not present
Related to T4541