Fix error 500 with NPE when user click the dependency link of the current artifact and this dependency isn't in the repo