Removed another debug statement
Check res is a table in case of an unknown master name
Local variable optomisations
Tests for sentinel under a separate make task