Improve error message of lcopy-checkout