Check auto-upload preference before upload to server

Signed-off-by: Andrey Zhdanov <andrjufka@gmail.com>