Check prefix and project name to be valid for slug usage (see #2).