Raise an error when stacked devices are in multiple devices in Ralph

http://ralph.allegrogroup.com/buildbot/builders/unittest-ralph-deshipu/builds/197