In some cases path key is empty. Try this workaround.