fixing a bug in rbm pipeline which was causing the tests to stall

Change-Id: Ibbe0c8dce240c454341314c3a0d74651bb343767