Bugfix in instantiation logic of UriInjector

Added break in order for UriInjector to correctly break when Object could be instantiated by constructor