Handle not existing or invalid secrets file

Fix this unhandled exception: http://paste2.org/KAKAN6Kf