* fix: crash on invalid docker credentials * add test Co-authored-by: mergify[bot] <37929162+mergify[bot]@users.noreply.github.com>