add checks for setup script to not output scary errors
Merge pull request #617 from Tahi-project/setup-changes

add checks for setup script to not output scary errors