[PATCH] cabinet: Avoid calling strlen on a constant