Enable system to use default value if THUMBNAIL_DEBUG value does not exi...

THUMBNAIL_DEBUG should be using its default value. Right now project is giving a attribute error if THUMBNAIL_DEBUG is not provided.