Checking if passed path is valid or not
Closes #6: OS detection ok