Fix apps versioncheck

This fixes https://github.com/owncloud/apps/issues/1485 
@schiesbn @PVince81