`getPath` returns paths without leading dot. Signed-off-by: Evgeniy Stratonikov <evgeniy@nspcc.ru>
Closes #1336