Fix default target destination when using "." as path separator

Issue: SPR-11660
Polish