Explicitly use python3 in shebang
Add DoesNotExist exception clause