Added tests and fixed NPE for the null strings

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>
Fixed wipeFilter for missing P4CONFIG. Now there won't be "${P4CONFIG}" in exclude directory list

Signed-off-by: Oleg Nenashev <nenashev@synopsys.com>