fix repository path, deprecate registry attrs