fix(builder): validate that properly formed slugs are added correctly

@gabrtv created this patch to detect when we run into apparent `ADD` errors in `docker build` and fail faster.