Fixed dest path validation
Added edge case