Fenced test_multiple_paths for sam test

Fenced test_multiple_paths to allow only specific sam entities when server runs in sam mode
Also it will return None if the key is not present, which could cause `AttributeError` exception. And a dict lookup coud raise a `KeyError` if the key is not present.

Maybe `conf.properties.get('main.project', '').lower()` would be better.