handle 409 error

In case you create new repository, or browsing empty one it shows ugly `Error: 409` error. Added handler to  fail more gracefully (+ my editor removed some empty spaces :) )