Undefined index type

My environment:
- Mac OS X 10.9.3
- MAMP/ Apache 2.2.26
- MAMP/ MySQL 5.5.34
- MAMP/ PHP 5.5.10
- WordPress ja 3.9.1
- StaticPress 0.4.3.4

What I found was:
- installed WordPress ja 3.9.1
- add my posts ant custome themes
- installed StaticPress
- Clicking the 再構築 button followed by immediate エラー！ message.
- in the PHP eeror log file found messages saying
```
[14-Jul-2014 07:36:17 UTC] PHP Notice:  Undefined index: type in /Users/kazuakimatsuhashi/git/WordPressBooksReader/stepup/src/wp/wp-content/plugins/staticpress/includes/class-static_press.php on line 554
```

My fix:
I read the source code of class-static_press.php on line 554. I found it a bit fragile. The line 554 assumes that the $url array must have 'type' property with some value. If $url misses 'type' property, even accidentally, the processing may fail. I think it is safer to check existence of 'type' property in the $url array before accessing it. So I changed the line 554 and tested. Now it works fine for me.