Changed the check that was introduced in the last commit from exists to strlen > 0.

The check with exists does only work if one uses a variable and not a number a parameter