Add required attribute for repository layout.