Replacing latest_release with current_path

Solving https://github.com/everzet/capifony/issues/551

I've written some tests also, but I'm unable to pass [test at line 41](https://github.com/bigfoot90/capifony/commit/a5f82c5e83752bd0747220f506850d08f1e357c7#diff-8eff6a4bec74f3e5588ea8e7f9a6ab84R41)