Fixed a bug with the Regexp checking and a bug with force option.

I found a couple bugs:

1. Moved to use relative path to avoid problems with backslashes in Windows path.
2. Consider everything else than {force: true} to be false. Previously for example {force: 'false'} or {force: 'anything'} was considered to be true.