Fix bug 915502

Only set RestCartridge.scales_with if a scaling cart is found.
Merge pull request #1451 from pmorie/bugs/915502

Merged by openshift-bot