Prevent post.rb from failing in upload checking