Fix pattern for disallowed directory names

Task-number: QTIFW-304

Change-Id: I8c59692675cb8981eb309b820f00f5b8ff81d306
Reviewed-by: Karsten Heimrich <karsten.heimrich@digia.com>