Check if .qmake.conf exists when finding out the module version

Change-Id: I75f308ec3f477eaf745b2714b4be2bc13d6e8f0b
Reviewed-by: Sergio Ahumada <sahumada@blackberry.com>
Reviewed-by: Matti Paaso <matti.paaso@digia.com>