[CB-4036] - fixed up how plugin install handles the dev flag for repos as well as cleaned up some errors