fixed blueprints list bug when there are no blueprints, improved rest client robustness