Fixed paths regex. Fixes #8