Add Repository field shows error when repo input invalid; not pretty but it works